package com.cskaoyan.mall.model.po;

/**
 * @ClassName: Spec
 * @Description: TODO
 * @Auther 庄左
 * @Date 2022/6/30 17:58
 * @Version
 **/
public class Spec {
    private Integer id;
    private Integer goodId;
    private String specName;
    private String unitPrice;
    private String stockNum;

    public Spec() {
    }

    public Spec(Integer goodId) {
        this.goodId = goodId;
    }

    public Spec(Integer goodId, String specName) {
        this.goodId = goodId;
        this.specName = specName;
    }

    public Spec(Integer id, Integer goodId, String specName, String unitPrice, String stockNum) {
        this.id = id;
        this.goodId = goodId;
        this.specName = specName;
        this.unitPrice = unitPrice;
        this.stockNum = stockNum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public String getName() {
        return specName;
    }

    public void setName(String specName) {
        this.specName = specName;
    }

    public String getPrice() {
        return unitPrice;
    }

    public void setPrice(String unitPrice) {
        this.unitPrice = unitPrice;
    }

    public String getStockNum() {
        return stockNum;
    }

    public void setStockNum(String stockNum) {
        this.stockNum = stockNum;
    }
}
